import 'dart:io';

class Thread {
  final int tid;
  const Thread({required this.tid});
}

class CPU {
  static late final Thread thread;
  static final CPU _instance = CPU._internal();
  CPU._internal();
  static CPU getInstance() => _instance;

  void initLoop() {
    thread = Thread(tid: pid);
  }
}
